import request from "@/utils/request";

export const getAppList = (params) => {
  return request({
    url: "/eva/v1/app/list",
    method: "get",
    params,
  });
};

export const createApp = (data) => {
  return request({
    url: "/eva/v1/app/create",
    method: "post",
    data,
  });
};

export const updateApp = (data) => {
  return request({
    url: "/eva/v1/app/update",
    method: "post",
    data,
  });
};

export const deleteApp = (data) => {
  return request({
    url: "/eva/v1/app/delete",
    method: "post",
    data,
  });
};
